/* start the shortest mismatch routine to calculate 
Kontoyiannis et al's (1998)entropy estimator */

unzipfile shortestmismatcher.jar.zip, replace
capture mkdir shortestmismatches

local dir `c(pwd)'

!java -Xmx40000M -jar "`dir'\\shortestmismatcher.jar" "`dir'\\length" "`dir'\\shortestmismatches" 18
timer off 1
timer list 1
exit
